<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/user',
    'namespace' => 'Frieza\\Modules\\User\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    $router->get('/index', 'IndexController@index');
    //用户分群后台
    $router->get('/userProfile/list', 'UserProfileListController@index')->name('userPosition.list');

    //用户详情页路由
    $router->get('/Detail/{uid}','UserDetailController@index');
    //用户管理记录页面
    $router->get('/OperateOrderList/{uid}','UserDetailController@OperateOrder');
    //用户展示明文手机号页面
    $router->get('/ShowBindPhone/{uid}','UserDetailController@ShowBindPhone');
    //处理展示用户所有徽章的路由
    $router->get('/AllEmblem/{uid}','UserDetailController@AllEmblem');
    //处理展示用户装修信息的路由
    $router->get('/DecorationInfo/{uid}','UserDetailController@DecorationInfo');
    //处理展示用户消息记录的路由
    $router->get('/MessageRecordInfo/{uid}','UserDetailController@MessageRecordInfo');
});
